<?php /* Smarty version 2.6.18, created on 2009-05-26 02:03:32
         compiled from default/product_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'default/product_list.html', 9, false),array('modifier', 'urlencode', 'default/product_list.html', 65, false),array('modifier', 'strip_tags', 'default/product_list.html', 132, false),array('modifier', 'replace', 'default/product_list.html', 132, false),array('modifier', 'truncate', 'default/product_list.html', 136, false),array('function', 'ul_get_offer', 'default/product_list.html', 116, false),array('function', 'cycle', 'default/product_list.html', 120, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<meta name="Author" content="stevenchow811@163.com">
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
">
<meta name="description" content=""> 
<title><?php echo ((is_array($_tmp=@$this->_tpl_vars['IndsutryName'])) ? $this->_run_mod_handler('default', true, $_tmp, "产品列表") : smarty_modifier_default($_tmp, "产品列表")); ?>
&laquo;产品库&laquo;<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/kongqineng.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/mixselect.js"></script>
<?php echo $this->_tpl_vars['xajax_javascript']; ?>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.banner1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<script language="javascript" src="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
js/adv.php?zid=2"></script>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height=30 border=0 align=center cellPadding=0 cellSpacing=0 class="corhui">
  <tbody>
    <tr> 
      <td width="100%"><img height=13 src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon1.gif" 
      width=14> 您当前位置： <a class=link12 href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
"><?php echo $this->_tpl_vars['sitename']; ?>
</a> 
        &gt; <a class=link12 href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
product/">产品库</a>
		&gt;<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
product/list.php?sid=<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, 1) : smarty_modifier_default($_tmp, 1)); ?>
"><?php echo $this->_tpl_vars['IndsutryName']; ?>
</a>
		</td>
    </tr>
  </tbody>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="365">
	<table width="365" height="27" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg"> 
            <div align="center"><strong><a id="IndustryTab1" href="javascript:void(0);" onClick="changeTab(1);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,1);">求购信息</a></strong></div></td>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg"><div align="center"><a id="IndustryTab2" href="javascript:void(0);"  onclick="changeTab(2);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,2);">供应信息</a></div></td>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg"><div align="center"><a id="IndustryTab3" href="javascript:void(0);" onClick="changeTab(3);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,3);">公司库</a></div></td>
          <td width="90" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_01.jpg"> 
            <div align="center"><strong><a id="IndustryTab4" href="javascript:void(0);" onClick="changeTab(4);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,4);">商品库</a></strong></div></td>
        </tr>
      </table></td>
    <td width="395" valign="top" class="corhui"> 
      <div align="right"> <img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon.gif" width="11" height="11"> <a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
room/productedit.php">我要发布商品信息</a>&nbsp;&nbsp; 
        <img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon.gif" width="11" height="11"> <a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
help.php">如何发布商品信息?</a>&nbsp;&nbsp;&nbsp;</div></td>
  </tr>
  <tr> 
    <td colspan="2" valign="top"> 
	<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0" class="linefen">
        <tr> 
          <td class="corfen" height="4"></td>
        </tr>
        <tr> 
          <td class="corfen2"height="8">
		            <div id="divSubIndustry">
          <table>
          <tr>
          <?php $_from = $this->_tpl_vars['OtherIndustry']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['otherind'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['otherind']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['otherind']['iteration']++;
?>
          <td><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
product/list.php?industryname=<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['Name'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
"><?php echo $this->_tpl_vars['item']['Name']; ?>
</a>(<?php echo $this->_tpl_vars['item']['BuyAmount']; ?>
)</td>
          <?php if (!($this->_foreach['otherind']['iteration'] % 6)): ?>
          </tr><tr>
          <?php endif; ?>
          <?php endforeach; else: ?>
          <td>暂时没有任何数据</td>
          <?php endif; unset($_from); ?>
          </tr>
          </table>
          </div>

		  </td>
        </tr>
        <tr> 
          <td class="corfen2"> 
			<table height=35 cellSpacing=3 cellPadding=3 width="100%" align=center border=0>
              <form name="product_search_frm" action="./list.php?sid=<?php echo $_GET['sid']; ?>
" method="get">
                <tbody>
                  <tr> 
                    <td class=f2 align=middle width=85><select name="countryid" id="countryid" USEDATA="dataSrc2" SUBCLASS="1"></select></td>
                    <td width="85"><select name="provinceid" id="provinceid" USEDATA="dataSrc2" SUBCLASS="2">
                          </select></td>
                    <td width=115><select name="aindustry" id="aindustry" USEDATA="dataSrc" SUBCLASS="1">
                          </select></td>
                    <td align="middle" width="105"><input name="keyword" value="输入关键字" size="18" onFocus="if(this.value=='输入关键字'){this.value='';this.style.color='#000'}" onBlur="if(this.value==''){this.value='输入关键字';this.style.color='#808080'}" ></td>
                    <td align="middle" width="87"><input type="submit" name="search_list" value="--筛 选--"></td>
                  </tr>
              </form>
            </table>			
			</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="corhui">
  <tr> 
    <td> 
      <table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" cellpadding="3" cellspacing="0">
        <tr> 
          <td width="683" height="20"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
          <td width="65" align="right"></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="5" cellspacing="1" class="">
  <tr class="corfen"> 
    <td width="70" height="30" align="center"><strong>选择比较</strong></td>
    <td width="90" align="center"><strong>图　片</strong></td>
    <td width="455" align="center"><strong>商品信息</strong></td>
    <td width="75" align="center"><strong>信誉度指数</strong></td>
    <td width="70" align="center"><strong>给我留言</strong></td> <td width="70" align="center" rowspan="<?php echo $this->_tpl_vars['productnum']; ?>
" class="z5">最新产品供应信息<table> <?php echo smarty_function_ul_get_offer(array('type' => 'sell','max' => '30'), $this);?>
</table>最新更改招投标信息<table></table></td>
  </tr>
<?php $_from = $this->_tpl_vars['Lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['count'] => $this->_tpl_vars['prod']):
?>
<div id=<?php echo $this->_tpl_vars['prod']['ID']; ?>
 class="box">
  <tr class="<?php echo smarty_function_cycle(array('values' => "corhui,#"), $this);?>
" onClick="this.childNodes[0].childNodes[0].checked=(this.childNodes[0].childNodes[0].checked)?false:true"> 
    <td width="70" align="center"><input type="checkbox" name="product_id[]" id="product_id_<?php echo $this->_tpl_vars['prod']['ID']; ?>
" /></td>
    <td width="90"> <table width=64 height=55 border=0 align=center cellPadding=0 cellSpacing=1 class="bghui">
        <tbody>
          <tr> 
            <td><img src="<?php echo $this->_tpl_vars['attachment_dir']; ?>
<?php echo $this->_tpl_vars['prod']['ProductPicture']; ?>
.small.jpg" width="72" height="65" border=0></td>
          </tr>
        </tbody>
      </table></td>
    <td width="455"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr> 
          <td width="398" height="20"><a href="content.php?id=<?php echo $this->_tpl_vars['prod']['ID']; ?>
" class="font14blak"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['prod']['Name'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('replace', true, $_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords']) : smarty_modifier_replace($_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords'])); ?>
</a> 
            <span class="time"><?php echo $this->_tpl_vars['prod']['created']; ?>
</span></td>
        </tr>
        <tr> 
          <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['prod']['Description'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 150) : smarty_modifier_truncate($_tmp, 150)); ?>
</td>
        </tr>
        <tr> 
          <td height="20"><a href="content.php?id=<?php echo $this->_tpl_vars['prod']['ID']; ?>
">详细信息</a></td>
        </tr>
      </table>
    </td>
    <td width="75" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/type/<?php echo ((is_array($_tmp=@$this->_tpl_vars['prod']['Membertype'])) ? $this->_run_mod_handler('default', true, $_tmp, 'default') : smarty_modifier_default($_tmp, 'default')); ?>
.gif"></td>
    <td width="70" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/feed.gif" width="20"><br> 
      <a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
space.php?do=feedback&userid=<?php echo $this->_tpl_vars['prod']['UserName']; ?>
">给我留言</a></td>
  </tr>
</div>
<?php endforeach; else: ?>
  <tr class="corhui"> 
    <td align="center" colspan="5"><div align="center">暂无数据</div></td>
  </tr>
<?php endif; unset($_from); ?>
<!-- 单个商品信息 -->
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="corhui">
  <tr> 
    <td> <table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" cellpadding="3" cellspacing="0">
        <tr> 
          <td width="83" height="20"></td>
          <td width="565" align="right"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
var linkage = new Linkage("dataSrc", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/industry_option.xml");
linkage.BLANK_SELECT = "--行业类别--";
linkage.init();
var linkage2 = new Linkage("dataSrc2", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/area.xml");
linkage2.BLANK_SELECT = "请选择地区";
linkage2.init();
</script>